package org.flower.bean;

public class Collect {
    private Integer id;

    private Integer comdetailsid;

    private Integer userid;

    public Collect(Integer id, Integer comdetailsid, Integer userid) {
        this.id = id;
        this.comdetailsid = comdetailsid;
        this.userid = userid;
    }

    private CommodityDetails commodityDetails;

    public CommodityDetails getCommodityDetails() {
        return commodityDetails;
    }

    public void setCommodityDetails(CommodityDetails commodityDetails) {
        this.commodityDetails = commodityDetails;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getComdetailsid() {
        return comdetailsid;
    }

    public void setComdetailsid(Integer comdetailsid) {
        this.comdetailsid = comdetailsid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    @Override
    public String toString() {
        return "Collect{" +
                "id=" + id +
                ", comdetailsid=" + comdetailsid +
                ", userid=" + userid +
                ", commodityDetails=" + commodityDetails +
                '}';
    }
}